<template>
  <div>
    <h3>动态渲染.vue文件的组件——Display</h3>
    <i-display :code='code'></i-display>
  </div>
</template>
<script>
import { iDisplay } from '../../components'
import defaultCode from './default-code'
export default {
  name: 'i-display-view',
  components: {
    iDisplay
  },
  data () {
    return {
      code: defaultCode
    }
  }
}
</script>